1
AI実装の進化:低コードと統合ソリューション
AI011Lesson 4
00:00

AI実装の進化

組織が人工知能を導入する方法に、根本的な変化が起きています。焦点は、単体のチャットインターフェースから、 統合されたビジネスソリューション 低コードエコシステムと構造化されたAPI接続によって駆動される、統合されたビジネスソリューションへと移行しています。

1. 画像合成と制御

現代の画像生成モデル(例:DALL-E)は、 CLIP (テキスト埋め込みの理解用)と 拡散注意(Diffused Attention) (視覚的出力を生成するため)。しかし、企業利用では、セキュリティとガバナンスが最も重要です。

  • メタプロンプト: ユーザーのプロンプトが処理される前段階で、コンテンツの境界を定義するシステムレベルの指示。
  • 拒否リスト: 出力が業務上安全であり、特定の対象に適切であることを保証するハードコーディングされたフィルター。

2. 低コード革命

Microsoft Power Platform(Power Apps、Automate、BIなど)のようなプラットフォームは、自然言語によるアプリ開発を可能にし、『市民開発者』を強化します。

  • AI Builder: 事前構築済みモデル(例:請求書処理)またはカスタム学習済みモデルを提供し、繰り返し作業を自動化します。
  • Dataverse: これらの統合ソリューションの中心的かつセキュアなデータ「脳」として機能します。

3. 関数呼び出しと接続性

大規模言語モデルは、関数を構造化された JSONオブジェクトとして記述することで、外部ツールとのギャップを埋めることができます。

LLMは外部ツールの必要性を認識し、要求を正確にフォーマットし、アプリケーションがAPI呼び出しを実行してリアルタイムデータを取得し、そのデータをモデルに戻して合成処理を行います。

温度スケール
ビジネスタスク用のモデルを設定する際には、 温度を調整してください。値が 0 だと「決定論的」な出力(データ抽出に一貫性と信頼性がある)が得られますが、 1 に近い値だと「ランダム」な出力(創造的で予測不可能)になります。
course_finder.py
TERMINALbash — 80x24
> Ready. Click "Run" to execute.
>
Question 1
Which parameter should be adjusted to ensure an AI model gives the same response every time for the same prompt?
Temperature (set to 0)
Top-K (set to 100)
Max Tokens (set to 0)
Frequency Penalty (set to 1)
Question 2
Does DALL-E 3 support editing specific parts of an image via masking?
Yes
No
Challenge: Automated Invoice System
Apply your knowledge of low-code tools and safety.
You are building an automated invoice system for a startup using the Power Platform. You need to extract data from incoming PDFs and ensure any generated visual assets for the app are safe.
Task 1
Identify the correct AI Builder model for extracting data from a PDF receipt.
Solution:
Use the "Invoice Processing" or "Receipt Processing" prebuilt model in AI Builder.
Task 2
Create a "Meta-Prompt" that prevents an image generator from creating realistic weapons or violent imagery.
Solution:
"Always generate friendly, illustrative content. Do not include weapons, blood, or scary themes. If requested, substitute with whimsical or educational alternatives."